package com.linzt.candy.wxmp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linzt.candy.common.core.web.domain.BaseEntity;

import java.io.Serializable;
import java.sql.Timestamp;

/**
* @Author linzt
* @Date 2020/12/19 11:16 下午
* @Description 微信公众号关注用户
* @Version 1.0
*/
@TableName("tb_wx_mp_user")
public class WxMpUser extends BaseEntity {

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private String id;

    /** openid */
    private String openid;

    /** 昵称 */
    private String nickname;

    /** 备注名称 */
    private String bzname;

    /** 用户头像 */
    private String headimgurl;

    /** 性别：'1':男性；'2':女性；'0':未知 */
    private Integer sex;

    /** 是否关注:'0':未关注；'1':关注 */
    private Boolean subscribe;

    /** 关注时间 */
    private Long subscribeTime;

    /** 用户关注渠道来源 */
    private String subscribeScene;

    /** 手机号 */
    private String mobile;

    /** 绑定状态：'n':未绑定；'y':已绑定；'v':绑定中 */
    private String bindStatus;

    /** 绑定时间 */
    private Timestamp bindTime;

    /** 标签id */
    private String tagidList;

    /** 省份 */
    private String province;

    /** 城市 */
    private String city;

    /** 地区 */
    private String country;

    /** 二维码扫码场景 */
    private String qrScene;

    /** 二维码扫码常见描述 */
    private String qrSceneStr;

    /** 用户所在分组id */
    private Integer groupid;

    /** 用户的语言，简体中文为zh_cn */
    private String language;

    private String unionid;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getBzname() {
        return bzname;
    }

    public void setBzname(String bzname) {
        this.bzname = bzname;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Boolean getSubscribe() {
        return subscribe;
    }

    public void setSubscribe(Boolean subscribe) {
        this.subscribe = subscribe;
    }

    public Long getSubscribeTime() {
        return subscribeTime;
    }

    public void setSubscribeTime(Long subscribeTime) {
        this.subscribeTime = subscribeTime;
    }

    public String getSubscribeScene() {
        return subscribeScene;
    }

    public void setSubscribeScene(String subscribeScene) {
        this.subscribeScene = subscribeScene;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getBindStatus() {
        return bindStatus;
    }

    public void setBindStatus(String bindStatus) {
        this.bindStatus = bindStatus;
    }

    public Timestamp getBindTime() {
        return bindTime;
    }

    public void setBindTime(Timestamp bindTime) {
        this.bindTime = bindTime;
    }

    public String getTagidList() {
        return tagidList;
    }

    public void setTagidList(String tagidList) {
        this.tagidList = tagidList;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getQrScene() {
        return qrScene;
    }

    public void setQrScene(String qrScene) {
        this.qrScene = qrScene;
    }

    public String getQrSceneStr() {
        return qrSceneStr;
    }

    public void setQrSceneStr(String qrSceneStr) {
        this.qrSceneStr = qrSceneStr;
    }

    public Integer getGroupid() {
        return groupid;
    }

    public void setGroupid(Integer groupid) {
        this.groupid = groupid;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    @Override
    public String toString() {
        return "WxMpUser{" +
                "id='" + id + '\'' +
                ", openid='" + openid + '\'' +
                ", nickname='" + nickname + '\'' +
                ", bzname='" + bzname + '\'' +
                ", headimgurl='" + headimgurl + '\'' +
                ", sex=" + sex +
                ", subscribe=" + subscribe +
                ", subscribeTime=" + subscribeTime +
                ", subscribeScene='" + subscribeScene + '\'' +
                ", mobile='" + mobile + '\'' +
                ", bindStatus='" + bindStatus + '\'' +
                ", bindTime=" + bindTime +
                ", tagidList='" + tagidList + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", country='" + country + '\'' +
                ", qrScene='" + qrScene + '\'' +
                ", qrSceneStr='" + qrSceneStr + '\'' +
                ", groupid=" + groupid +
                ", language='" + language + '\'' +
                ", unionid='" + unionid + '\'' +
                '}';
    }
}